<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "/jeecms_sys/head.html"/>
<script type="text/javascript">
function getTableForm() {
	return document.getElementById('tableForm');
}
function optDelete() {
	if(Pn.checkedCount('ids')<=0) {
		alert("<@s.m 'error.checkRecord'/>");
		return;
	}
	if(!confirm("<@s.m 'global.confirm.delete'/>")) {
		return;
	}
	var f = getTableForm();
	f.action="o_delete.do";
	f.submit();
}
function add(){
var f = document.getElementById('aa');
f.action="v_add.do";
f.submit();
}
</script>
</head>
<body>
<div class="box-positon">
	<div class="rpos"><@s.m "global.position"/>: 问卷统计 - <@s.m "global.list"/></div>
	<form id="aa" class="ropt">
		<!-- <input class="add" type="button" onclick="add();" value="<@s.m "global.add"/>"/> -->
	</form>
	<div class="clear"></div>
</div>
<div class="body-box">
 
<form action="v_userresport_list.do" method="post" style="padding-top:5px;">
<div>
标题：<input type="text" name="title" value="${title!}" style="width:100px"/>
用户名：<input type="text" name="userName" value="${userName!}" style="width:100px"/>
手机号：<input type="text" name="mobile" value="${mobile!}" style="width:100px"/>
开始时间：<input type="text" name="beginTime" value="${beginTime!}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"/>
结束时间：<input type="text" name="endTime" value="${endTime!}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"/>
<input class="query" type="submit" value="<@s.m "global.query"/>"/>
</div>
</form> 
<form id="tableForm" method="post">
<input type="hidden" name="pageNo" value="${pageNo!}"/>
<@p.table value=pagination;userreport,i,has_next><#rt/>
	<@p.column code="用户名">${(userreport.user.name)!}</@p.column><#t/>
	<@p.column code="手机号">${(userreport.user.mobile)!}</@p.column><#t/>
	<@p.column code="标题">${userreport.title!}</@p.column><#t/>
	<@p.column code="早餐">${userreport.breakfast!}</@p.column><#t/>
	<@p.column code="午餐">${userreport.lunch!}</@p.column><#t/>
	<@p.column code="晚餐">${userreport.dinner!}</@p.column><#t/>
	<@p.column code="加餐">${userreport.extra!}</@p.column><#t/>
	<@p.column code="摄入能量值">${userreport.bmi!}</@p.column><#t/>
	<@p.column code="生成时间">${userreport.createTime!}</@p.column><#t/>
</@p.table>
</form>
</div>
<#include "/common/alert_message.html"/>
</body>
</html>